package com.qiangesoft.jpa.service;

import com.qiangesoft.jpa.entity.SysUser;
import org.springframework.data.domain.Page;

import java.util.List;

/**
 * 用户服务层
 *
 * @author qiangesoft
 * @date 2024-10-11
 */
public interface SysUserService {

    void save(SysUser sysUser);

    void deleteById(Long id);

    List<SysUser> finaAll();

    Page<SysUser> page(Integer pageNum, Integer pageSize, String nickName);

    SysUser findById(Long id);

}
